package com.smedi.ismedi.progress.core.application.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smedi.ismedi.progress.api.dto.response.ProgressReportMonthDetailAllResponse;
import com.smedi.ismedi.progress.api.dto.response.ProgressReportWeekDetailAllResponse;
import com.smedi.ismedi.progress.core.application.command.*;
import com.smedi.ismedi.progress.core.domain.aggregatemodel.*;
import com.smedi.ismedi.progress.core.domain.dto.ProjectBriefReportVo;

import java.util.List;

/**
 * 进度管理应用服务接口
 *
 * @author pengyan
 * @date 2022/09/19
 */
public interface ProjectBriefReportQueryService {

    /**
     * 查询简报列表
     * @param projectBriefListQuery
     * @return java.util.List<com.smedi.ismedi.progress.core.domain.aggregatemodel.ProjectBriefReport>
     * @date 2022/10/12 17:36
     */
    Page<ProjectBriefReport> getProjectBriefList(ProjectBriefListQuery projectBriefListQuery);

    /**
    * 根据简报id 查询详情
    * @param projectBriefReportDetailQuery
    * @return java.util.List<com.smedi.ismedi.progress.core.domain.aggregatemodel.ProjectBriefReportDetail>
    * @date 2022/10/13 15:18
    */
    ProjectBriefReportVo getProjectBriefReportDetail(ProjectBriefReportDetailQuery projectBriefReportDetailQuery);

    List<ProjectBriefReportVo> getProjectBriefReportDetailAll(ProjectBriefReportDetailQuery projectBriefReportDetailQuery);

    /**
    * 定时任务 项目简报生成
    * @param
    * @return java.lang.Boolean
    * @date 2022/10/13 19:49
    */
    Boolean projectBriefCreateTask();
}